﻿using System;

namespace BlazorAdmin.Models.Dto
{
    public class TcpSignal
    {
        /// <summary>
        /// 是否开始包装
        /// </summary>
        public bool IsPacking { get; set; }

        /// <summary>
        /// 是否打印标签
        /// </summary>
        public bool IsPrint { get; set; }

        /// <summary>
        /// 是否更新客户端信息
        /// </summary>
        public bool IsUpdate { get; set; }

        /// <summary>
        /// 固定资产号
        /// </summary>
        public string AssetNo { get; set; }

        /// <summary>
        /// 所在位置
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 是否立即备份
        /// </summary>
        public bool IsBackup { get; set; }

        /// <summary>
        /// 备份目录
        /// </summary>
        public string BackupPath { get; set; }

        /// <summary>
        /// 本地历史归档目录
        /// </summary>
        public string UploadedPath { get; set; }
    }

    public class TcpSignal<T> : TcpSignal
    {
        public T Data { get; set; }
    }
}
